home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / PowerPlant / LHiResPrintout / LHiResCaption.h < prev    next >
Encoding:
Text File  |  1997-06-30  |  949 b   |  42 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    LHiResCaption.cp                   
  3. //  Dan Crevier
  4. //  A subclass of LCaption that changes the text size proportionally if it is
  5. //  enclosed in an LHiResPrinter. See LHiResPrintout for detials
  6.  
  7. #ifndef _H_LHiResCaption
  8. #define _H_LHiResCaption
  9. #pragma once
  10.  
  11. #if defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
  12.     #pragma import on
  13. #endif
  14.  
  15. #include <LCaption.h>
  16.  
  17. class    LHiResCaption : public LCaption {
  18. public:
  19.     enum { class_ID = 'hrCp' };
  20.  
  21.                         LHiResCaption();
  22.                         LHiResCaption(
  23.                                 const LHiResCaption    &inCaption);
  24.                         LHiResCaption(
  25.                                 const SPaneInfo    &inPaneInfo,
  26.                                 ConstStringPtr    inString,
  27.                                 ResIDT            inTextTraitsID);
  28.                         LHiResCaption(
  29.                                 LStream            *inStream);
  30.     virtual                ~LHiResCaption();
  31.     
  32. protected:
  33.  
  34.     virtual void        DrawSelf();
  35. };
  36.  
  37. #if defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
  38.     #pragma import reset
  39. #endif
  40.  
  41. #endif
  42.